From 1c91dc1602a965cecdf323445fe1c54d6107f130 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Fri, 9 May 2025 15:07:25 +0200 Subject: [PATCH] feat(windows): use cmake to configure windows integration DLL version Signed-off-by: Matthieu Gallien --- shell_integration/windows/NCUtil/CMakeLists.txt | 4 ++++ shell_integration/windows/NCUtil/Version.h.in | 3 +++ 2 files changed, 7 insertions(+) diff --git a/shell_integration/windows/NCUtil/CMakeLists.txt b/shell_integration/windows/NCUtil/CMakeLists.txt index 1b5610253..75972307f 100644 --- a/shell_integration/windows/NCUtil/CMakeLists.txt +++ b/shell_integration/windows/NCUtil/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 ownCloud GmbH +# SPDX-License-Identifier: LGPL-2.1-or-later +configure_file(Version.h.in ${CMAKE_CURRENT_BINARY_DIR}/Version.h) + add_library(NCUtil STATIC CommunicationSocket.cpp RemotePathChecker.cpp diff --git a/shell_integration/windows/NCUtil/Version.h.in b/shell_integration/windows/NCUtil/Version.h.in index eb97edb91..dac156b08 100644 --- a/shell_integration/windows/NCUtil/Version.h.in +++ b/shell_integration/windows/NCUtil/Version.h.in @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016 ownCloud GmbH +// SPDX-License-Identifier: LGPL-2.1-or-later + #pragma once // This is the number that will end up in the version window of the DLLs. -- 2.30.2